package beihxx.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuyb
 */
@RestController
public class OrderController {

    @GetMapping("/order/create")
    public String creatOrder(Integer productId,Integer userId){

        return "id:"+userId+"   商品id:"+productId;
    }
}
